{% extends 'baseForm/Form.html' %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block title %}
    注册
{% endblock %}

{% block body %}
    {% block form %}
        {{ form.csrf_token }}
        <form class="form-signin" method="POST">
            <h2 class="form-signin-heading">请注册</h2>
            {{ form.hidden_tag() }}
            {{ wtf.form_field(form.email) }}
            {{ wtf.form_field(form.username) }}
            {{ wtf.form_field(form.password) }}
            {{ wtf.form_field(form.confirm) }}
            {{ wtf.form_field(form.submit) }}
        </form>
    {% endblock %}
{% endblock %}